﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="PersonVst.aspx.cs" Inherits="App_Input_PersonVst" Title="上门拜访" %>
<%@ Register TagPrefix="shpm" TagName="TipBar" Src ="~/App/Input/SaleProcessTipBar.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script language="javascript">
    function delmessage(){
        return window.confirm("是否要删除？");
    }
    function addmessage(){
        return window.confirm("是否要登记？");
    }
    </script>
    <div>
     <div id="container">
                                <div id="title"  >
                                    <ul>
                                        <li id="tag1" style="display:none;">
                                            <asp:LinkButton ID="LinkButton1"  OnCommand="lnkTab_Command" CommandName="btn0" runat="server" Enabled="false" Width="105px"><span>新建销售档案</span></asp:LinkButton>
                                        </li>
                                        <li id="tag2">
                                            <asp:LinkButton ID="LinkButton2" OnCommand="lnkTab_Command" CommandName="btn1"  runat="server"  CssClass="selectli"  OnClientClick="return false;"><span class="selectspan">销售记录</span></asp:LinkButton>
                                        </li>
                                        <li id="tag4">
                                            <asp:LinkButton ID="LinkButton4" OnCommand="lnkTab_Command" CommandName="btn3" runat="server" Width="95px"><span>权益人管理</span></asp:LinkButton>
                                        </li>
                                        <li id="tag3">
                                            <asp:LinkButton ID="LinkButton3" OnCommand="lnkTab_Command" CommandName="btn2" runat="server" ><span>会员管理</span></asp:LinkButton>
                                        </li>
                                        <li id="Li6">
                                            <asp:LinkButton ID="LinkButton9" OnCommand="lnkTab_Command" CommandName="btn6" runat="server" Width="105px"><span>入住资格审核</span></asp:LinkButton>
                                        </li>
                                        <li id="tag5">
                                            <asp:LinkButton ID="LinkButton5" OnCommand="lnkTab_Command" CommandName="btn4" runat="server"><span>会员入住</span></asp:LinkButton>
                                        </li>
                                    </ul>
                                </div>
                    <div id="content" class="content1">
                    <shpm:TipBar runat="server" ID="tipBar" />
        <table class="table_border_line">
            <tr>
                <td align="left" colspan="6" style="height: 17px">

                    <script language="javascript">
                        (new TitleBar('SearchBar', '上门拜访客户信息')).showBar();
                    </script>

                </td>
            </tr>
        </table>
        <table class="table_border_line" style="background:ffffff">
            <tr>
                <td style="text-align:center; width:16%; white-space:nowrap; height:25px;">
                    客户姓名</td>
                <td style="width:16%; white-space:nowrap;">
                    <asp:Label ID="lblRelationName" runat="server"></asp:Label></td>
                <td style="text-align:center; width:16%; white-space:nowrap;">
                    客户电话</td>
                <td style="width:16%; white-space:nowrap;">
                    <asp:Label ID="lblRelationTelphone" runat="server"></asp:Label></td>
                <td style="text-align:center; width:16%; white-space:nowrap;">
                    服务人员</td>
                <td style="width:20%; white-space:nowrap;">
                    <asp:Label ID="lblEmpId" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="text-align:center; width:16%; white-space:nowrap; height:25px;">
                    客户住址</td>
                <td colspan="3">
                    <asp:Label ID="lblRelationAddress" runat="server"></asp:Label></td>
                <td style="text-align:center; width:16%; white-space:nowrap;">
                    </td>
                <td style="width:20%; white-space:nowrap;">
                    </td>
            </tr>
        </table>
        
        <table class="table_border_line">
            <tr>
                <td align="left" colspan="6" style="height: 17px">

                    <script language="javascript">
                        (new TitleBar('SearchBar1', '拜访前客户信息')).showBar();
                    </script>

                </td>
            </tr>
        </table>
        <table class="table_border_line" style="background:ffffff">
            <tr>
            <td style="width:100%">
                <asp:TextBox ID="txtRelationMemo" runat="server" TextMode="MultiLine" Width="100%" MaxLength="255" Rows="3"></asp:TextBox></td>
            </tr>
        </table>
        
        <table class="table_border_line">
            <tr>
                <td align="left" colspan="6" style="height: 17px">

                    <script language="javascript">
                        (new TitleBar('SearchBar2', '拜访前预案设计')).showBar();
                    </script>

                </td>
            </tr>
        </table>
        <table class="table_border_line" style="background:ffffff">
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    目的</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationIntention" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap; height: 10px;">
                    方法</td>
                <td style="width:80%; white-space:nowrap; height: 10px;">
                    <asp:TextBox ID="txtRelationMethod" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    可能出现的结果</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationIntending" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    如何应对</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationCountermeasure" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
            <td style="width:20%; text-align:center; white-space:nowrap; height: 36px;">
                拜访日期</td>
            <td style="height: 36px">
                    <asp:TextBox ID="txtBespeakDate" runat="server" MaxLength="10" onfocus="new Calendar().show(this);"></asp:TextBox>
                格式：yyyy/MM/dd</td>
            </tr>
        </table>
        <br />
        <table class="table_border_line">
            <tr>
                <td align="left" colspan="6" style="height: 17px">

                    <script language="javascript">
                        (new TitleBar('SearchBar3', '拜访后客户信息')).showBar();
                    </script>

                </td>
            </tr>
        </table>
        <table class="table_border_line" style="background:ffffff">
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    居住环境</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationSurroundings" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    经济情况</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationEconomy" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    文化素质</td>
                <td style="width:80%;">
                    <asp:TextBox ID="txtRelationCulture" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    个人喜好</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationInterest" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    子女情况</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationFamily" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    对亲和源的看法</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationOpinion" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    拜访日期</td>
                <td>
                    <asp:TextBox ID="txtFactDate" runat="server" MaxLength="10" onfocus="new Calendar().show(this);"></asp:TextBox>
                    格式：yyyy/MM/dd</td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    备注</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationVisiting1" runat="server" Width="100%" TextMode="MultiLine" Rows="3" MaxLength="100"></asp:TextBox></td>
            </tr>
        </table>  
        
        <table class="table_border_line">
            <tr>
                <td align="left" colspan="6" style="height: 17px">

                    <script language="javascript">
                        (new TitleBar('SearchBar4', '拜访后预案调整')).showBar();
                    </script>

                </td>
            </tr>
        </table>  
        <table class="table_border_line" style="background:ffffff">
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    存在的问题</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationQuestion" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    解决的办法</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationSolve" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap;">
                    安排下一次上门</td>
                <td style="width:80%; white-space:nowrap;">
                    <asp:TextBox ID="txtRelationVisiting2" runat="server" Width="100%" MaxLength="100" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:20%; text-align:center; white-space:nowrap; height: 38px;">
                    备注</td>
                <td style="width:80%; white-space:nowrap; height: 38px;">
                    <asp:TextBox ID="txtRelationVisiting3" runat="server" Width="100%" TextMode="MultiLine" Rows="3" MaxLength="100"></asp:TextBox></td>
            </tr>
        </table>    
        <table class="table_border_line">
            <tr>
                <td style="text-align:center;">
                    <asp:Button ID="btnAdd" runat="server" Text="保存" CssClass="Button" Width="75px" OnClick="btnAdd_Click" OnClientClick="return addmessage();" />&nbsp;&nbsp;
                    &nbsp;
                    <asp:Button
                        ID="btnDel" runat="server" CssClass="button" Text="删除" Width="75px" OnClick="btnDel_Click" OnClientClick="return delmessage();" />&nbsp;&nbsp; &nbsp;
                    <asp:Button
                            ID="btnBack" runat="server" CssClass="Button" Text="返回" Width="75px" OnClick="btnBack_Click" /></td>
            </tr>
        </table>
        </div>
        </div>
         </div>
</asp:Content>
